#ifndef MAIN_H
#define MAIN_H

#include "SimpleRobot.h"
#include <Math.h>
#include "Talon.h"
#include "GlobalData.h"
#include "Joystick.h"

class Main : public SimpleRobot 
{

public:
	//Constructor
	Main();
	//Destructor
	~Main();
	
	//The following three functions are called by SimpleRobot
	void Autonomous();
	void Disabled();
	void OperatorControl();
	
private:
	
	//Three stages of main
	void Input();
	void Process();
	void Output();
	
	// Driver Control Inputs
	Joystick* m_joystickDriver1;
	Joystick* m_joystickDriver2;
	Joystick* m_joystickOperator1;
	Joystick* m_joystickOperator2;

	// Drive train
	Talon* m_DTLeftA;
	Talon* m_DTLeftB;
	Talon* m_DTRightA;
	Talon* m_DTRightB;

	
	GlobalData* m_globals;
};

#endif
